package com.lzx.article.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lzx
 * @since 2023-01-11
 */
@Getter
@Setter
@TableName("two_sort")
@ApiModel(value = "TwoSort对象", description = "")
public class TwoSort implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("二级标签名")
    private String tagName;

    @ApiModelProperty("一级标签id")
    private Integer parentId;

    @ApiModelProperty("使用量")
    private Long usageCount;
}
